﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Application.PermissionsServices.Dto
{
    public class CreatePermissionsDto
    {
        [Required]
        public string PermissionsCode { get; set; } = "";

        [Required]
        public string PermissionsName { get; set; } = "";

        public string Icon { get; set; } = "";

        public bool AlwaysShow { get; set; } = true;

        public string Component { get; set; } = "";

        public string Description { get; set; } = "";

        public Guid? ParentId { get; set; }

        public int Sort { get; set; }

    }
}
